#include "UpLeftThirdTooth.h"

USING_NS_CC;

UpLeftThirdTooth::UpLeftThirdTooth(HelloWorld* helloWorld)
{
	position = UP_LEFT_THREE;
	upThirdTooth = CCSprite::create("dentist/img_sr_1280_720_tooth_t10001.png");
	upThirdTooth->setPosition(ccp(236,149));
	helloWorld->addChild(upThirdTooth);
}

UpLeftThirdTooth::~UpLeftThirdTooth(void)
{
	upThirdTooth->autorelease();
}

bool UpLeftThirdTooth::checkToolInWhichTooth(float x, float y){
	if(x>231 && x<241 && y > 113 && y<125){
		return true;
	}else{
		return false;
	}
}
